const mysql = require('mysql')

// 创建链接
const db = mysql.createPool({
    host: 'localhost',
    user: 'root',
    password: '123456',
    database: 'test'
})

module.exports=db